package com.itheima.jdk8date;

import java.time.LocalDateTime;

/*
获取 时间日期对象
now 当前 系统时间
of(年,月,日,时,分,秒)
 */
public class Demo02 {

    public static void main(String[] args) {
        //now 当前 系统时间
        LocalDateTime now = LocalDateTime.now();
        System.out.println(now);
        //of(年,月,日,时,分,秒)
        LocalDateTime of = LocalDateTime.of(1991, 6, 7, 8, 9, 10);
        System.out.println(of);
        //LocalDateTime dateTime = new LocalDateTime();


    }
}
